package cn.tedu.front.details.service.impl;

import cn.tedu.front.details.dao.persest.repository.JobDetailRepository;
import cn.tedu.front.details.pojo.vo.ListJobDetailVO;
import cn.tedu.front.details.service.JobDetailService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class JobDetailServiceImpl implements JobDetailService {
    @Autowired
    JobDetailRepository jobRepository;



    @Override
    public List<ListJobDetailVO> listJobDetailByPostTypeId(Long postTypeId) {
        List<ListJobDetailVO> listJobDetailVOS = jobRepository.listJobDetailByPostTypeId(postTypeId);
        return listJobDetailVOS;
    }

}
